const config = {
    animationDuration: 500,
    animationDurationUpdate: 3000, //就不生效2333
    xAxis: {
        type: "category",
        show: true,
        axisLine: {
            lineStyle: {
                color: "#818285"
            }
        },
        axisLabel: {
            color: "#818285",
            fontWeight: "normal",
            fontFamily: "Microsoft Yahei",
            fontSize: 13
        },
        data: [
            "接口",
            "多少啊",
            "后宫番",
            "杨鸿年",
            "认同感",
            "额外的",
            "房贷"
        ]
    },
    yAxis: [
        {
            type: "value",
            show: true,
            min:'dataMin',
            max:'dataMax',
            splitNumber:5,
            axisLine: {
                show: true,
                lineStyle: {
                    color: "#999"
                }
            },
            axisLabel:{
                fontSize:12,
                fontWeight:'normal',
                fontFamily:'Microsoft YaHei',
                color:'#000'
            },
            splitLine: {
                show: false,
                lineStyle:{
                    color:'#000',
                    type:'solid'
                }
              }
          },
          {
            type: 'value',
            show: true,
            min:'dataMin',
            max:'dataMax',
            splitNumber:5,
            axisLine: {
                show: true,
                lineStyle: {
                    color: "#999"
                }
            },
            axisLabel:{
                fontSize:12,
                fontWeight:'normal',
                fontFamily:'Microsoft YaHei',
                color:'#000'
            },
            splitLine: {
                show: false,
                lineStyle:{
                    color:'#000',
                    type:'solid'
                }
              }
        }
    ],
    series: [
        {
            itemStyle: {
                color: "#0a73ff"
            },
            name:'',
            data: [820, 932, 901, 934, 1290, 1330, 1320],
            type: "bar",
            barWidth: '',
            showBackground: true,
            backgroundStyle: {
                color: "rgba(180, 180, 180, 0.2)"
            },
            label: {
                show: true,
                position: "top",
                color: "#818285",
                fontWeight: "normal",
                fontFamily: "Microsoft Yahei",
                fontSize: 13
            }
        },
        {
            name: '',
            data: [900, 300, 200, 200, 320, 100, 340],
            type: 'line',
            yAxisIndex: 1,
            smooth: false,
            symbol: 'circle',
            symbolSize: 6,
            lineStyle: {
                color: '#4cabce',
                width: 2,
                type: 'solid',
            },
            itemStyle: {
                color: '#4cabce',
            }
        },
        // {
        //     name: '降水量',
        //     type: 'bar',
        //     data: [2.6, 5.9, 9.0, 26.4, 28.7, 70.7, 175.6, 182.2, 48.7, 18.8, 6.0, 2.3]
        // },
        // {
        //     name: '平均温度',
        //     type: 'line',
        //     yAxisIndex: 1,
        //     data: [2.0, 2.2, 3.3, 4.5, 6.3, 10.2, 20.3, 23.4, 23.0, 16.5, 12.0, 6.2]
        // }

    ]
};

export {
    config
}